//
//  IAPProduct.h
//  Hangman
//
//  Created by  Stefan Nestorov on 9/27/14.
//  Copyright (c) 2014 Ray Wenderlich. All rights reserved.
//

#import <Foundation/Foundation.h>
@class SKProduct;


@interface IAPProduct : NSObject

@property (nonatomic, assign) BOOL availableForPurchase;
@property (nonatomic, strong) NSString *productIdentifier;
@property (nonatomic, strong) SKProduct *skProduct;
@property (nonatomic, assign) BOOL purchaseInProgress;
@property (nonatomic, assign) BOOL purchase;
@property (nonatomic, assign) BOOL isEnergyPurchase;
@property (nonatomic, assign) NSInteger reward;

- (id)initWithProductIdentifier:(NSString *)productIdentifier;
- (BOOL)allowedToPurchase;

@end
